package cn.dansj.service;

import cn.dansj.entity.ShortLink;

import java.util.List;

public interface ShortLinkService {
    ShortLink getUrl(String url, int userId);

    int countByUserId(int userId);

    void save(ShortLink shortLink);

    void save(List<ShortLink> shortLinks);
}
